package Demo5;

import Demo5.controller.UserController;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Demo5 {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("Demo5");
        UserController controller=context.getBean(UserController.class);
        controller.doLogin();

    }
}
